<script lang="ts" setup>
import { ref } from 'vue'

// 加载状态处理
const loadingStatus = ref(false);

export function setLoading(statu: boolean) {
  loadingStatus.value = statu;
}

export function getLoading(): boolean {
  return loadingStatus.value;
}
</script>
